package com.culturalCenter.dataCenter.service.user;

import com.culturalCenter.dataCenter.entity.user.UserFootrpintCount;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface UserFootrpintCountService {

    /**
     * UserFootrpintCount分页查询
     *
     * @param page
     * @param size
     *
     * @return
     */
    PageInfo<UserFootrpintCount> findPage(int page, int size);

    /**
     * 删除UserFootrpintCount
     *
     * @param id
     */
    Integer delete(String id);

    /**
     * 修改UserFootrpintCount数据
     *
     * @param userFootrpintCount
     */
    Integer update(UserFootrpintCount userFootrpintCount);

    /**
     * 新增UserFootrpintCount
     *
     * @param userFootrpintCount
     */
    Integer add(UserFootrpintCount userFootrpintCount);

    /**
     * 根据ID查询UserFootrpintCount
     *
     * @param id
     *
     * @return
     */
    UserFootrpintCount findById(String id);

    /**
     * 查询所有UserFootrpintCount
     *
     * @return
     */
    List<UserFootrpintCount> findAll(UserFootrpintCount userFootrpintCount);

    /**
     * 通过userId查浏览记录统计
     *
     * @param userId
     *
     * @return
     */
    UserFootrpintCount findByUserId(String userId);

}
